import request from '@/utils/request'
import $qs from 'qs'
export function transactionData(params) {
    return request({
      url: '/transactionData',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function userStatistics(params) {
    return request({
      url: '/userStatistics',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function dealerStatistics(params) {
    return request({
      url: '/dealerStatistics',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function businessStatistics(params) {
    return request({
      url: '/businessStatistics',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function goodsStatistics(params) {
    return request({
      url: '/goodsStatistics',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function orderStatistics(params) {
    return request({
      url: '/orderStatistics',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function statisticsSet(params) {
    return request({
      url: '/statisticsSet',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function statisticsSave(params) {
    return request({
      url: '/statisticsSave',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getSelfData(params) {
    return request({
      url: '/getSelfData',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function saveData(params) {
    return request({
      url: '/saveData',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function funnelDiagram(params) {
    return request({
      url: '/funnelDiagram',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function channelSales(params) {
    return request({
      url: '/channelSales',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function classSales(params) {
    return request({
      url: '/classSales',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function businessSalesTop10(params) {
    return request({
      url: '/businessSalesTop10',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function goodsSalesTop10(params) {
    return request({
      url: '/goodsSalesTop10',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function moneyStatistics(params) {
    return request({
      url: '/moneyStatistics',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function userActiveRate(params) {
    return request({
      url: '/userActiveRate',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function newUserCount(params) {
    return request({
      url: '/newUserCount',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function userAnalysis(params) {
    return request({
      url: '/userAnalysis',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function selfData(params) {
    return request({
      url: '/selfData',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function visitPage(params) {
    return request({
      url: '/visitPage',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function regionalDistribution(params) {
    return request({
      url: '/regionalDistribution',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function accessTrends(params) {
    return request({
      url: '/accessTrends',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function sAppData(params) {
    return request({
      url: '/sAppData',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function dStatistics(params) {
    return request({
      url: '/dStatistics',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function dealerGoodsOrder(params) {
    return request({
      url: '/dealerGoodsOrder',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function offlineDealerUserOrder(params) {
    return request({
      url: '/offlineDealerUserOrder',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function goodsLookTime(params) {
    return request({
      url: '/goodsLookTime',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function profit(params) {
    return request({
      url: '/profit',
      method: 'post',
      data: $qs.stringify(params)
    })
  }